package com.hckjsec.cloud.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.hckjsec.cloud.mapper.AppletsBusinessVideoUserMapper;
import com.hckjsec.cloud.domain.AppletsBusinessVideoUser;
import com.hckjsec.cloud.service.IAppletsBusinessVideoUserService;

/**
 * 申办信息视频用户Service业务层处理
 * 
 * @author cyt
 * @date 2021-08-27
 */
@Service
public class AppletsBusinessVideoUserServiceImpl implements IAppletsBusinessVideoUserService 
{
    @Autowired
    private AppletsBusinessVideoUserMapper appletsBusinessVideoUserMapper;

    /**
     * 查询申办信息视频用户
     * 
     * @param id 申办信息视频用户ID
     * @return 申办信息视频用户
     */
    @Override
    public AppletsBusinessVideoUser selectAppletsBusinessVideoUserById(Long id)
    {
        return appletsBusinessVideoUserMapper.selectAppletsBusinessVideoUserById(id);
    }

    /**
     * 查询申办信息视频用户列表
     * 
     * @param appletsBusinessVideoUser 申办信息视频用户
     * @return 申办信息视频用户
     */
    @Override
    public List<AppletsBusinessVideoUser> selectAppletsBusinessVideoUserList(AppletsBusinessVideoUser appletsBusinessVideoUser)
    {
        return appletsBusinessVideoUserMapper.selectAppletsBusinessVideoUserList(appletsBusinessVideoUser);
    }

    /**
     * 新增申办信息视频用户
     * 
     * @param appletsBusinessVideoUser 申办信息视频用户
     * @return 结果
     */
    @Override
    public int insertAppletsBusinessVideoUser(AppletsBusinessVideoUser appletsBusinessVideoUser)
    {
        return appletsBusinessVideoUserMapper.insertAppletsBusinessVideoUser(appletsBusinessVideoUser);
    }

    /**
     * 修改申办信息视频用户
     * 
     * @param appletsBusinessVideoUser 申办信息视频用户
     * @return 结果
     */
    @Override
    public int updateAppletsBusinessVideoUser(AppletsBusinessVideoUser appletsBusinessVideoUser)
    {
        return appletsBusinessVideoUserMapper.updateAppletsBusinessVideoUser(appletsBusinessVideoUser);
    }

    /**
     * 批量删除申办信息视频用户
     * 
     * @param ids 需要删除的申办信息视频用户ID
     * @return 结果
     */
    @Override
    public int deleteAppletsBusinessVideoUserByIds(Long[] ids)
    {
        return appletsBusinessVideoUserMapper.deleteAppletsBusinessVideoUserByIds(ids);
    }

    /**
     * 删除申办信息视频用户信息
     * 
     * @param id 申办信息视频用户ID
     * @return 结果
     */
    @Override
    public int deleteAppletsBusinessVideoUserById(Long id)
    {
        return appletsBusinessVideoUserMapper.deleteAppletsBusinessVideoUserById(id);
    }
}
